﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Demo.DtoParameters
{
    public class EmployeeDtoParameters
    {
        public string Gender { get; set; }

        public string Q { get; set; }

        [Range(0, int.MaxValue)] public int PageNumber { get; set; } = 1;

        [Range(0, 100)] public int PageSize { get; set; } = 20;

        public string OrderBy { get; set; } = "FirstName";
    }
}